package com.ruoyi.project.system.service;

import com.ruoyi.framework.web.domain.TreeSelect;
import com.ruoyi.project.system.domain.SysDirTree;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 系统目录树 服务类
 * </p>
 *
 * @author luaj
 * @since 2019-11-22
 */
public interface ISysDirTreeService extends IService<SysDirTree> {
    public List<SysDirTree> selectSysDirTreeList(SysDirTree dirTree);
    public List<SysDirTree> builddirTreeTree(List<SysDirTree> dirTreeList);
    public List<TreeSelect> builddirTreeTreeSelect(List<SysDirTree> dirTreeList);
    public SysDirTree selectdirTreeById(Long dirTreeId);
    public boolean hasChildBydirTreeId(Long dirTreeId);
    public boolean checkdirTreeExistChild(Long dirTreeId);
    public String checkdirTreeNameUnique(SysDirTree dirTree);
    public int insertdirTree(SysDirTree dirTree);
    public int updatedirTree(SysDirTree dirTree);
    public int deletedirTreeById(Long dirTreeId);
}
